package message

import (
	"hy_808/protocol/hygprs"
)

/*
固定短信
+0  A0 00 22 02 00 05 A4
+7  01 00 00 00 34
+12 02 00 00 2C 8C
+17 13 00 01 86 A1
+22 06 62 1F 24 14
+27 0F 01
+29 00 00 04 66 A1
+34
*/
type FixedMessage struct {
	hygprs.Fields
}

func MakeFixedMessage(p hygprs.Fields) FixedMessage {
	return FixedMessage{p}
}

func (p FixedMessage) MessageID() byte {
	return p.Data[28]
}
